package com.aloda.ojuser.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author aloda
 * @Date 2025/4/20 14:29
 */
@Data
@Component
@ConfigurationProperties(prefix = "oj.verify")
public class VerifyProperties {

    /**
     * 验证码有效期
     */
    private Integer verifyTimeout;

    /**
     * 验证码获取间隔时间
     */
    private Integer verifyColdTime;

    /**
     * 邮箱验证码有效期
     */
    private Integer emailVerifyTimeout;
}
